#ifndef __RECIVIED_H__
#define __RECIVIED_H__

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "util.h"
#include "received.h"

typedef struct Recevied
{
    char   *From;
    char   *By;
    char   *Via;
    char   *With;
    char   *Id;
    char   *For;
    char   *DateTime;
}RECEIVED;

RECEIVED*   received_new();
void        received_delete(RECEIVED*);
void        received_clear(RECEIVED*);
int         received_set(void*, char*, char*);
int         received_parse(RECEIVED*, char*);
void        received_print(RECEIVED*);
int         received_string (RECEIVED*, char*, int);

#endif


